---
title: ResourceGroups.Count Property (Project)
ms.prod: project-server
api_name:
- Project.ResourceGroups.Count
ms.assetid: 637cb744-3ab8-2d48-4fd7-4e36f4a913e8
ms.date: 06/08/2017
---


# ResourceGroups.Count Property (Project)

Gets the number of items in the  **ResourceGroups** collection. Read-only **Long**.


## Syntax

 _expression_. **Count**

 _expression_ A variable that represents a **ResourceGroups** object.


## Remarks

Use of the  **Count** property in most collection objects is similar. For an example, see the **[Assignments.Count](assignments-count-property-project.md)** property.


